Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed broken test (Added option for inputting encoding of file #334) #383

Merged
merged 6 commits into from
Sep 7, 2023

Conversation

yyamano
Copy link
Contributor

@yyamano yyamano commented Aug 23, 2023

Fixed #334

mmzeynalli and others added 5 commits August 23, 2023 15:15
Now you can also give --encoding or -e option to indicate the encoding of input file
cp1252 is a superset of iso-8859-1. I don't think it is a good default value.
See koxudaxi#334 (comment)
Fixed koxudaxi#334
@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Patch coverage: 25.00% and project coverage change: -0.25% ⚠️

Comparison is base (86e3cf7) 92.16% compared to head (c21aba9) 91.92%.
Report is 5 commits behind head on master.

❗ Current head c21aba9 differs from pull request most recent head 3ad6e66. Consider uploading reports for the commit 3ad6e66 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #383      +/-   ##
==========================================
- Coverage   92.16%   91.92%   -0.25%     
==========================================
  Files           6        6              
  Lines         383      384       +1     
==========================================
  Hits          353      353              
- Misses         30       31       +1     
Flag Coverage Δ
unittests 91.92% <25.00%> (-0.25%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
fastapi_code_generator/__main__.py 84.02% <25.00%> (-0.59%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yyamano
Copy link
Contributor Author

yyamano commented Aug 23, 2023

https://github.com/koxudaxi/fastapi-code-generator/pull/383/files#annotation_13581178139

Hmm, do we really want to test main.py::main ?

@koxudaxi
Copy link
Owner

koxudaxi commented Sep 7, 2023

@yyamano

Hmm, do we really want to test main.py::main ?

We should clean up the unittest 😅

@koxudaxi koxudaxi merged commit fb88eba into koxudaxi:master Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants